package com.three.service;

import com.three.vo.AddInventoryVo;
import com.three.vo.BaoSunVo;
import com.three.vo.KeyboardVO;
import com.three.vo.R;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 袁大毛
 * * @date 2024/10/25 下午7:07
 * @描述
 */
public interface InventoryService {

    // 获取所有盘点信息信息
    R listInventory(Integer currentPage, Integer pageSize,@RequestBody KeyboardVO keyboardVO);

    //获取所有详细盘点信息
    R listInventoryDetail(Integer invenid);

    //修改盘点状态yes
    R updateStateYes(Integer invenid,Integer branchid);
    //修改盘点状态no
    R updateStateNo(Integer invenid,String remarks);

    //获取所有报损报修商品
    R getAllBaoSunGoods(Integer currentPage, Integer pageSize, BaoSunVo aaa);

    //检查是否有未审核的盘点单
    R checkState();

    //添加盘点信息
    R addInventory(List<AddInventoryVo> listInventoryVo);
}